package com.ice.work.moment.oauth.dao.resource;

import com.ice.work.moment.facade.user.model.Resource;

import java.util.List;

/**
 * @Description 资源接口
 * @Author DELL
 * @Create 2019-01-14
 * @Since 1.0.0
 */
@SuppressWarnings("all")
public interface IResourceRepository   {
    /**
     * 通过用户Id查询资源权限
     * @param userId
     * @param dataStatus
     * @return
     */
     List<Resource> findByUserIdAndDataStatus(Long userId, Integer dataStatus);
}
